Automattic\Jetpack\Connection\REST_Connector B

Total Complexity 79
Dependencies 14
Dependents 5
Total lines 847
Lines of code 492
Logical lines of code 166
Comment lines 239
Methods 22
Properties 2

Methods 22

Method Rating Maintainability Complexity Lines of code
__construct()
A
29 5 181
connection_register()
A
45 12 39
get_user_connection_data()
S
45 6 43
connection_reconnect()
S
52 7 26
update_user_token()
S
51 7 24
is_request_signed_by_jetpack_debugger()
S
51 6 27
connection_status()
S
50 5 27
connection_authorize_url()
S
59 4 15
connection_plugins_permission_check()
S
65 3 9
get_connection_plugins()
S
62 2 13
set_connection_owner()
S
62 2 12
disconnect_site()
S
61 2 12
update_user_token_permission_check()
S
72 2 5
jetpack_reconnect_permission_check()
S
69 2 6
jetpack_register_permission_check()
S
69 2 6
user_connection_data_permission_check()
S
65 2 10
disconnect_site_permission_check()
S
65 2 10
activate_plugins_permission_check()
S
69 2 6
remote_authorize()
S
66 2 8
set_connection_owner_permission_check()
S
69 2 6
get_user_permissions_error_msg()
S
80 1 3
verify_registration()
S
75 1 4